package com.xbongbong.pro.user.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 进行工作交接DTO
 * @author kaka
 * @version v1.0
 * @date 2019/6/11 13:54
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class WorkHandoverSaveDTO extends BaseDTO {

    private static final long serialVersionUID = -5932988978825098955L;

    /**
     * 需要交接工作的员工userId
     */
    @NotBlank(message = "{dto.msg.workHandoverSave.fromUserId.NotBlank}")
    private String fromUserId;

    /**
     * 交接目标员工userId
     */
    @NotBlank(message = "{dto.msg.workHandoverSave.toUserId.NotBlank}")
    private String toUserId;
}
